package com.demoProxy;

public class BigStar implements Star {

    private String name;
    private int age;

    public BigStar(String name, int age) {
        this.name = name;
        this.age = age;
    }
     public BigStar(){
     }
    
    public String getName() {
        return name;
    }
    public int getAge() {
        return age;
    }
    public String sing(){
        System.out.println("正在唱歌=======");
        return "谢谢";
    }
    public void eat(String food){
        System.out.println("正在吃----"+food);
    }
    @Override
    public void eat() {
        System.out.println(this.name +"   ,hello ,i am full");
    }
} 
